package run.halo.app.enums;

public enum SortEnum {
    ASC(0, "升序"),
    DESC(1, "降序");

    SortEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    final Integer code;
    final String desc;
}
